import { Provider } from "react-redux";
import store from "./store";
import Timer from "./components/timer";
import Counter from "./components/counter";
const App = () => {
    return (
        <>
            <div className='page-header'>
                <h1>
                    Redux <small>@redux/toolkit的综合应用</small>
                </h1>
            </div>
            <div className='page-content'>
                <div className='wrapper wrapper1'>
                    <Provider store={store}>
                        <Timer />
                        <hr />
                        <Counter />
                    </Provider>
                </div>
            </div>
        </>
    );
};

export default App;
